
* {
    margin: 0;
    padding: 0;
    font-family: Arial;
}

body {
    width: 100%;
    text-align: center;

    background: #F9F9F9;
    animation: bg 10s;
    animation-iteration-count: 10000;
    animation-direction: alternate;
    animation-delay: 5s;

    -webkit-animation: bg 30s;
    -moz-animation: bg 30s;
    -o-animation: bg 30s;

    -webkit-animation-iteration-count: 10000;
    -moz-animation-iteration-count: 10000;
    -o-animation-iteration-count: 10000;

    -webkit-animation-direction: alternate;
    -moz-animation-direction: alternate;
    -o-animation-direction: alternate;

    -webkit-animation-delay: 5s;
    -moz-animation-delay: 5s;
    -o-animation-delay: 5s;
    position: relative;
}

.login {
    width: 400px;
    height: 400px;
    background: #F9F9F9;
    border-radius: 10px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -200px;
    margin-top: -280px;
}

.login h1 {
    margin-top: 30px;
    line-height: 60px;
    font-size: 24px;
}

.login label {
    font-size: 22px;
}

.login #name,
.login #pwd {
    border: 2px solid darkcyan;
    line-height: 34px;
    border-radius: 10px;
    text-indent: 5px;
    outline: none;
    min-width: 300px;
}

.login_btn {
    background: darkblue;
    font-size: 20px;
    color: white;
    border-radius: 10px;
    border: none;
    outline: none;
    padding: 9px 120px;
    cursor: pointer;
}

.login p,
.login .link {
    font-size: 14px;
}

.login .link {
    text-decoration: none;
}

@keyframes bg {
    0% {
        background: #f9f9f9;
    }
    25% {
        background: #51f663;
    }
    50% {
        background: #f7ec40;
    }
    75% {
        background: #2cfecb;
    }
    100% {
        background: #e0f3d2;
    }
}

@-webkit-keyframes bg {
    0% {
        background: #f9f9f9;
    }
    25% {
        background: #BE9430;
    }
    50% {
        background: #BE8086;
    }
    75% {
        background: #BE5329;
    }
    100% {
        background: #4440BE;
    }
}

@-moz-keyframes bg {
    0% {
        background: #f9f9f9;
    }
    25% {
        background: #BE9430;
    }
    50% {
        background: #BE8086;
    }
    75% {
        background: #BE5329;
    }
    100% {
        background: #4440BE;
    }
}

@-o-keyframes bg {
    0% {
        background: #f9f9f9;
    }
    25% {
        background: #BE9430;
    }
    50% {
        background: #BE8086;
    }
    75% {
        background: #BE5329;
    }
    100% {
        background: #4440BE;
    }
}
